const menu = {
    state: {
        menu: [/* {
            title: '面板首页',
            ico: 'fa fa-bar-chart-o',
            path: '/report',
            permission: 0,
            children: []
        },  */{
            title: '我的账户',
            ico: 'fa fa-home',
            path: '/home',
            permission: 0,
            children: [{
                title: '● 我的资料',
                ico: '',
                path: '/home/myinfo',
            }, {
                title: '● 登录日志',
                ico: '',
                path: '/home/loginlog'
            }, {
                title: '● 修改密码',
                ico: '',
                path: '/home/mypassword'
            }]
        }, {
            title: '游戏管理',
            ico: 'fa fa-gamepad',
            path: '/game',
            permission: 0,
            children: [{
                title: '● 游戏列表',
                ico: '',
                path: '/game/list'
            }, {
                title: '● 添加游戏',
                ico: '',
                path: '/game/add'
            }]
        }, {
            title: '用户管理',
            ico: 'fa fa-group',
            path: '/user',
            permission: 0,
            children: [{
                title: '● 用户列表',
                ico: '',
                path: '/user/list'
            }, {
                title: '● 添加用户',
                ico: '',
                path: '/user/add'
            }]
        }, {
            title: '游戏交易',
            ico: 'fa fa-shopping-cart',
            path: '/trade',
            permission: 0,
            children: [{
                title: '● 交易列表',
                ico: '',
                path: '/trade/list'
            }, {
                title: '● 添加交易',
                ico: '',
                path: '/trade/add'
            }]
        }, {
            title: '推广管理',
            ico: 'fa fa-sitemap',
            path: '/promote',
            permission: 0,
            children: [{
                title: '● 积分商品',
                ico: '',
                path: '/promote/goods'
            }, {
                title: '● 积分抽奖',
                ico: '',
                path: '/promote/lucky'
            }, {
                title: '● 积分任务',
                ico: '',
                path: '/promote/task'
            },]
        }, {
            title: '订单管理',
            ico: 'fa fa-wpforms',
            path: '/order',
            permission: 0,
            children: [{
                title: '● 游戏交易',
                ico: '',
                path: '/order/game'
            }, {
                title: '● 积分兑换',
                ico: '',
                path: '/order/goods'
            },]
        }, {
            title: '日志管理',
            ico: 'fa fa-pencil',
            path: '/log',
            permission: 0,
            children: [{
                title: '● 积分收支',
                ico: '',
                path: '/log/integrallog'
            }, {
                title: '● 用户登录',
                ico: '',
                path: '/log/loginlog'
            },]
        }, {
            title: '系统管理',
            ico: 'fa fa-gears',
            path: '/set',
            permission: 0,
            children: [/* {
                title: '● 公告栏',
                ico: '',
                path: '/set/notice'
            },  */{
                title: '● 系统信息',
                ico: '',
                path: '/set/serverinfo'
            },/*  {
                title: '● 数据库',
                ico: '',
                path: '/set/database'
            } */]
        }]
    },
    getters: {
        menuData: state => state.menu,
    }
}

export default menu